<template>
  <div class="header-container" :style="{backgroundColor: bgcolor,color: color,fontSize: fsize + 'px'}">
    {{ title }}
  </div>
</template>

<script>


export default {
  name: "EsHeader",
  props: {
    title: {
      type: String,
      default: "EsHeader"
    },
    bgcolor: {
      type: String,
      default: "#007BFF"
    },
    color: {
      type: String,
      default: "#ffffff"
    },
    fsize: {
      type: Number,
      default: 12
    },
  },
  computed: {}
}
</script>

<style lang="less" scoped>
.header-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 45%;
  text-align: center;
  line-height: 45px;
  z-index: 999;
}
</style>